file chooser: Prevent accidental search
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Apr 2019 15:17:32 +0000 (15:17 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 28 Apr 2019 15:20:07 +0000 (15:20 +0000)
commitb9467a4dc72282374264d5be9017e40d53284aed
treee826ae1e1e9065b0374f511a094bba55ad3ea883
parent59fd48cee029af9039da5ef097123eeea84dbea3
file chooser: Prevent accidental search

When hitting Escape, the file chooser will go
into search mode, because the search entry
consumes the key to emit the ::search-stopped
signal. Recognize this situation and avoid
switching to search mode in this case.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1850
gtk/gtkfilechooserwidget.c